The recent [refactoring of the celery Worker process](https://github.com/apache/airflow/commit/02ce45cafec22a0a80257b2144d99ec8bb41c961) dropped the use of `celery.bin.worker.Worker()`, and switched to using the `celery.app.worker.Worker()` class more directly.

Unfortunately, it was the task of the former to format the [Celery hostname patterns](https://docs.celeryproject.org/en/latest/reference/cli.html?highlight=hostname#cmdoption-celery-worker-n).

Unfortunately this refactoring dropped support for hostname patterns (`%h`, `%n`, etc.). Can we re-introduce these? All that is needed is a few `celery.utils.nodenames` calls:

```python
from celery.utils.nodenames import default_nodename, host_format

        # ...
        'hostname': host_format(default_nodename(args.celery_hostname)),
```
airflow/executors/celery_executor.py
pid = os.fork()
    if pid:
        
        pid, ret = os.waitpid(pid, 0)
        if ret == 0:
            return
        raise AirflowException('Celery command failed on host: ' + get_hostname())
    from airflow.sentry import Sentry
    ret = 1
    try:
        from airflow.cli.cli_parser import get_parser
        parser = get_parser()
        
        args = parser.parse_args(command_to_exec[1:])
        setproctitle(f"airflow task supervisor: {command_to_exec}")
        args.func(args)
        ret = 0
    except Exception as e:  
        log.error("Failed to execute task %s.", str(e))
        ret = 1
    finally:
        Sentry.flush()
        os._exit(ret)  
def _execute_in_subprocess(command_to_exec: CommandType) -> None: