@classmethod
def _cache_lookup(cls, id, **kwargs):
    """ Look up cached objects, return found instance and search key """
    if isinstance(id, int):
        return cls._cache[id], id
    if isinstance(id, dict):
        return cls._cache[id['case_run_id']], id['case_run_id']
    raise KeyError
