docs: def get_definition_id(self, usage_id):
          """Get a definition_id by its usage id."""
          try:
              return self._usages[usage_id]
          except KeyError:
              raise NoSuchUsage(repr(usage_id))