Fixed id reuse (causing object overwrite) issue for inner objects defined in <constructor-arg> without an explicit id value.