def sniff_appendix_id_type(paragraphs):
    """
    Detect whether an appendix follows the section paragraph indentation
    scheme (a-1-i-A-1-i) or the appendix scheme (1-a)

    The sniffer should return 'section', 'appendix', or None.
    """
    for graph in paragraphs[:10]:
        if graph.text.startswith('(a)'):
            return 'section'
        if graph.text.startswith('1.'):
            return 'appendix'