code: def _iname2qname(self, iname: InstanceName) -> QualName:
          
          p, s, loc = iname.partition(":")
          return (loc, p) if s else (p, self.ns)
docs: Translate instance name to qualified name in the receiver's context.