I'm running some transformations with QVTo on a Papyrus .notation file. One transformation creates a new element with everything in place except the xmi:id part. However, when I do something in the diagram (i.e. move an element) and then save the diagram an xmi:id has appeared! Can someone point me to the Java source where this is done or tell me how it's done? I've been searching the sources but I haven't found anything yet.