Returns the full type identifier of the field.

def type_name(self):
    """
    Returns the full type identifier of the field.
    """

    res = self.type.__name__
    if self.type.__module__ not in ('__builtin__', 'builtins'):
      res = self.type.__module__ + '.' + res
    return res