def get_terminal_id(account_id):
    """Extract the teminal ID from account ID.

    The Terminal ID is the second part (after the hyphen) of the
    account ID.
    """
    return account_id.split('-')[1]