def clean_ensembl_id(identifier):
    """
    Formats an ensembl gene identifier to drop the version number.

    E.g., ENSG00000002822.15 -> ENSG00000002822

    Args:
        identifier (str)

    Returns:
        identifier (str)

    """
    return identifier.split('.')[0].upper()