Creates the id based off of the uri value

    Args:
    -----
        uri: the uri to conver to an elasticsearch id

def make_es_id(uri):
    """
    Creates the id based off of the uri value

    Args:
    -----
        uri: the uri to conver to an elasticsearch id
    """
    try:
        uri = uri.clean_uri
    except AttributeError:
        pass
    return sha1(uri.encode()).hexdigest()