def METHOD_NAME(self, name):
    if not name:
        return None
    if name not in self.classification_cache:
        try:
            self.classification_cache[name] = Classification.objects.get(name=name)
        except Classification.DoesNotExist:
            raise ValueError(_('Classification "%s" does not exist.') % name)
    return self.classification_cache[name]