class_docstr: Works like a dictionary that automatically assign values for new keys.
code: def __init__(
      self, initial_names: Optional[Sequence[Hashable]] = None
  ):
      names = initial_names or []
      self.id2name = OrderedDict(
          (id, name) for id, name in enumerate(names)
      )
      self.name2id = OrderedDict(
          (name, id) for id, name in enumerate(names)
      )
  
file_path: icevision/icevision/core/id_map.py
imports: from icevision.imports import *
label_desc: Use image node_id 1 to create a new IDMap object  with example: obj = IDMap(initial_names)