def METHOD_NAME(identifier):
    try:
        return models.Collection.objects.get(identifier=identifier)
    except models.Collection.DoesNotExist:
        raise ValueError(f'No collection with identifier "{identifier}" found.')