<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_name(self, plugin):
 """ Return name for registered plugin or None if not registered. """

        for name, val in self._name2plugin.items():
            if plugin == val:
                return name