def parse_href(href):
    """Parses an Analyze Re href into collection name and ID"""
    url = urlparse(href)
    path = url.path.split('/')
    collection_name = path[1]
    id_ = path[2]
    return collection_name, id_