class_docstr: Base `ID` Manager class. Every new `ID` manager must inherit this.
  It defines common `ID` manager specific functions.
class_docstr_tok: ["Base","`","ID","`","Manager","class",".","Every","new","`","ID","`","manager","must","inherit","this",".","It","defines","common","`","ID","`","manager","specific","functions","."]
docstr: Set IDs from data samples.
  
  Args:
      items (List): Data sampled returned by `load_tts_samples()`.
docstr_tok: ["Set","IDs","from","data","samples",".","Args",":","items","(","List",")",":","Data","sampled","returned","by","`","load_tts_samples","(",")","`","."]
code: def set_ids_from_data(self, items: List, parse_key: str) -> None:
      """Set IDs from data samples.
  
      Args:
          items (List): Data sampled returned by `load_tts_samples()`.
      """
      self.name_to_id = self.parse_ids_from_data(
          items, parse_key=parse_key
      )
  
imports: import json
  import random
  from typing import Any, Dict, List, Tuple, Union
  import fsspec
  import numpy
  import torch
  from TTS.config import load_config
  from TTS.encoder.utils.generic_utils import setup_encoder_model
  from TTS.utils.audio import AudioProcessor
label_desc: Use image node_id 4 for calling the BaseIDManager obj's underlying member method code with example usage: obj.set_ids_from_data(items, parse_key) without return types