def default_get_new_authority_record_details(model, authority):
    """Return a tuple of id and URL for a new authority record. This
    function provides a default implementation.

    Arguments:
    model -- AuthorityRecord model class
    authority -- Authority object

    """
    prefix = 'entity-'
    try:
        last_id = model.objects.filter(authority=authority).order_by(
            '-authority_system_id')[0].authority_system_id
    except IndexError:
        last_id = '%s000000' % prefix
    number = int(last_id[-6:]) + 1
    id = '%s%06d' % (prefix, number)
    # QAZ: add a sanity check that the generated ID does not already
    # exist, due to using multiple schemes over time for ID
    # generation.
    data = {'id': id, 'is_complete_id': True,
            'url': '%s.html' % (id), 'is_complete_url': False}
    return data