Add support for Names and ID in stats format Upstream-commit: 801230ce315ef51425da53cc5712eb6063deee95 Component: engine