code: def iname(self) -> InstanceName:
          
          dp = self.data_parent()
          return (self.name if dp and self.ns == dp.ns
                  else self.ns + ":" + self.name)
docs: Return the instance name corresponding to the receiver.