added a possibility to let the IdManager fix duplicated and wrong formated element ids
Merge branch 'master' into textEvents