code: def _canonicalize_variable_name(name):
      # If no name is specified, uses default name "Variable".
      if name is None:
          return "Variable"
      # Replace all instances of "_<num>/" with "/"
      name = _VARIABLE_UNIQUIFYING_REGEX.sub("/", name)
      # Replace any instances of "_<num>" at the end of the string with ""
      name = _VARIABLE_UNIQUIFYING_REGEX_AT_END.sub("", name)
      return name
  
label_desc: Use image node_id 1 for calling a global function with example usage: _canonicalize_variable_name(name) and returns: name, str