def METHOD_NAME(self, name, class_name):
    # defer to a cached method that only takes one parameter (a tuple)
    d = self._getObjectId((name, class_name))
    d.addCallback(lambda objdict: objdict['id'])
    return d