class_docstr: Helps generate unique ID strings.
docstr: Create a unique ID string that can be used for naming nodes (or others) using the form <prefix>_<number>.
code: def create_id(self, prefix: str) -> str:
      """Create a unique ID string that can be used for naming nodes (or others) using the form <prefix>_<number>."""
      with self._lock:
          new_id = f"{prefix}_{self._next_id}"
          self._next_id += 1
          return new_id
  
file_path: metricflow/metricflow/dag/id_generation.py
imports: from __future__ import annotations
  import logging
  import threading
  from typing import Dict, Type
label_desc: Use image node_id 2 for calling the IdGenerator obj's underlying member method code with example usage: obj.create_id(prefix) and returns: new_id