<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def name(self):
 """Return name of tag from TIFF.TAGS registry."""

        try:
            return TIFF.TAGS[self.code]
        except KeyError:
            return str(self.code)