code: def id_name(label, namespace=None):
          
          if not label.startswith(DOT):
              if namespace is None:
                  namespace = NAMESPACE
              ex_label = namespace + label  # The mangled namespace.labelname label
          else:
              if namespace is None:
                  namespace = GLOBAL_NAMESPACE  # Global namespace
              ex_label = label
  
          return ex_label, namespace
docs: Given a name and a namespace, resolves
          returns the name as namespace + '.' + name. If namespace
          is none, the current NAMESPACE is used