code: def __getref(self, a, tns):
          
          s = self.root.get(a)
          if s is None:
              return s
          else:
              return qualify(s, self.root, tns)
docs: Get the qualified value of attribute named 'a'.