code: def __init__(self, prefix=None):
      # to hold all names encountered,
      # to make sure that all new names are unique
      self.all_names = set()
      self.prefix = "_" if prefix is None else prefix
  
imports: import re
  import warnings
  from collections import OrderedDict
  from coremltools import _logger
  from coremltools.converters.mil.input_types import EnumeratedShapes, ImageType, Shape
  from coremltools.converters.mil.mil import Builder
  from coremltools.converters.mil.mil import Function, types
  from coremltools.converters.mil.mil.passes.graph_pass import AbstractGraphPass
  from coremltools.converters.mil.mil.passes.pass_registry import register_pass
label_desc: Use image node_id 1 to create a new NameSanitizer object  with example: obj = NameSanitizer(prefix)