<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, r):
 """Given an arbitrary resource attempt to resolve back to a qualified name."""

        namer = ResourceNameAdapters[self.manager.resource_type.service]
        return namer(r)