code: def uniquify(name):
      object_name_uids = global_state.get_global_attribute(
          "object_name_uids",
          default=collections.defaultdict(int),
          set_to_default=True,
      )
      if name in object_name_uids:
          unique_name = f"{name}_{object_name_uids[name]}"
      else:
          unique_name = name
      object_name_uids[name] += 1
      return unique_name
  
file_path: keras/keras/utils/naming.py
imports: import collections
  import re
  from keras.api_export import keras_export
  from keras.backend.common import global_state
label_desc: Use image node_id 2 for calling a global function with example usage: uniquify(name) and returns: unique_name