function getReference( $table, $name ) {

        if ( isset( $this->references[ $table ][ $name ] ) ) {

            return $this->references[ $table ][ $name ];

        }

        return $name . '_id';

    }