code: def create_callback_id(output, inputs):
      # A single dot within a dict id key or value is OK
      # but in case of multiple dots together escape each dot
      # with `\` so we don't mistake it for multi-outputs
      hashed_inputs = None
  
      def _concat(x):
          nonlocal hashed_inputs
          _id = (
              x.component_id_str().replace(".", "\\.")
              + "."
              + x.component_property
          )
          if x.allow_duplicate:
              if not hashed_inputs:
                  hashed_inputs = hashlib.md5(
                      ".".join(str(x) for x in inputs).encode("utf-8")
                  ).hexdigest()
              # Actually adds on the property part.
              _id += f"@{hashed_inputs}"
          return _id
  
      if isinstance(output, (list, tuple)):
          return ".." + "...".join(_concat(x) for x in output) + ".."
  
      return _concat(output)
  
imports: import shlex
  import sys
  import uuid
  import hashlib
  import collections
  import subprocess
  import logging
  import io
  import json
  import secrets
  import string
  import inspect
  from html import escape
  from functools import wraps
  from typing import Union
  from dash.types import RendererHooks
label_desc: Use image node_id 6 for calling a global function with example usage: create_callback_id(output, inputs) and returns: _concat, _id, unknown