<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def tag_name(cls, tag):

 """return the name of the tag, with the namespace removed"""

        while isinstance(tag, etree._Element):
            tag = tag.tag
        return tag.split('}')[-1]