class_docstr: A node in a DAG. These should be immutable.
class_docstr_tok: ["A","node","in","a","DAG",".","These","should","be","immutable","."]
docstr: Create and return a unique identifier to use when creating nodes.
docstr_tok: ["Create","and","return","a","unique","identifier","to","use","when","creating","nodes","."]
code: def create_unique_id(cls) -> NodeId:
      """Create and return a unique identifier to use when creating nodes."""
      return NodeId(
          IdGeneratorRegistry.for_class(cls).create_id(cls.id_prefix())
      )
  
imports: from __future__ import annotations
  import html
  import logging
  import textwrap
  from abc import ABC, abstractmethod
  from dataclasses import dataclass
  from typing import Any, Generic, List, Sequence, TypeVar
  import jinja2
  from metricflow.dag.id_generation import IdGeneratorRegistry
  from metricflow.dag.id_prefix import IdPrefix
  from metricflow.dag.prefix_id import PrefixIdGenerator
  from metricflow.visitor import VisitorOutputT
label_desc: Use image node_id 9 for calling the DagNode obj's underlying member method code with example usage: obj.create_unique_id(cls) and returns: NodeId