Is it possible to solve the issue by developing a plug-in/behavior which will enable creating object types by name? E.g. it could be a behavior with the property "Name", which could be accessible through object creation method.
Or it could be a plug-in "Object", which can hold any object type (Sprite,Text, Button etc) and has it's own object creation method with "object name".
I have a limited JS Knowledge and don't know anything about Plugin API, but if it's possible I will work into it.