def prettify_registration_id(id_):
    """
    Convert a application ID to human-readable string.


    :param id_: Identification of a application.


    :return: A string version of the application ID decomposed in groups
        of 3 digits separated with a dash character.
    """
    segments = []
    while id_ > 0:
        segments.append(str(id_ % 1000).zfill(3))
        id_ //= 1000
    return '-'.join(reversed(segments))
