code: def _resolve(self):
          
          self.__is_resolved = True
          if self.is_complex:
              type = self.nested if self.nested else self
              type.__reference = self.module.lookup(type.name)
docs: resolve the type symbol from name by doing a lookup