use the Id factory from scenario for more memory optimization
Authored by: thibautd 2014-04-04
Parent: [r28510]
Child: [r28512]