def create_identifier_custom_id_from_name(name):
    """
    Tries to turn the given name into an identifier. The identifier is always lower case. Spaces and minus signs are
    turned to underscore.
    
    Parameters
    ----------
    name : `str`
        The name of a custom_id.
    
    Returns
    -------
    custom_id : `str`
        The created custom id.
    """
    return name.casefold().replace(' ', '_').replace('-', '_')