Backport of #49030 This commit adds templating support to the pipeline processor's `name` option. Closes #39955