code: def _cls_fqn(self, cls):
          
          ns = self._namespace_stack[-1]
          if ns in ['__base__', None]:
              return cls.__name__
          else:
              return ns + '.' + cls.__name__
docs: Returns fully qualified name for the class based on current namespace
          and the class name.