Use exclamation mark for auto-generated config item names.

Fixes #5318