def _default_component(data):
    """
    Choose a default ComponentID to display for data
    """
    cid = data.find_component_id('PRIMARY')
    if cid is not None:
        return cid
    return data.component_ids()[0]