code: def extern_type_to_str(self, context_handle, type_id):
      
      c = self._ffi.from_handle(context_handle)
      return c.utf8_buf(text_type(c.from_id(type_id.tup_0).__name__))
docs: Given a TypeId, write type.__name__ and return it.