Better support for custom tag names for dynamic objects, including in Id generation