<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):
 """Give back tab name if is set else generate name by code"""

        if self._name:
            return self._name
        return self.code.replace('_', ' ').capitalize()