code: def _get_namespace_tag(self, tag):
          
          if self._namespace is not None:
              tag = "{%s}%s" % (self._namespace, tag)
          return tag
docs: Return the given C{tag} with the namespace prefix added, if any.