code: def pyuri_formatter(namespace, value):
      
      if namespace[0]:
          return "%s_%s" %(namespace[0], value)
      else:
          return "pyuri_%s_%s" % (base64.b64encode(bytes(namespace[1],
                                                         "utf-8")).decode(),
                                  value)
docs: Formats a namespace and ending value into a python friendly format
  
      args:
          namespace: RdfNamespace or tuple in the format of (prefix, uri,)
          value: end value to attach to the namespace