def clean(name):
    """
    Prepare name for query.

    Remove numeric characters which cause the query to break if at the start.
    """
    name = name.replace("-", "_").replace(".", "X")

    if name[0].isnumeric():
        name = f"X{name[1:]}"

    return name