def find_section_id(sections, id):
    """
    Find the section with a given id
    """
    for idx, section in enumerate(sections):
        try:
            if section['id'] == id:
                return idx
        except KeyError:
            continue
    return None