def cmd(command_id):
    """
    A helper function for identifying command functions
    """

    def decorator(func):
        func.__COMMAND_ID__ = command_id
        return func

    return decorator