hacking more on the modelID to element map
improve ModelItemID to ModelTreeElment map to not require rewriting when locel model ids are assigned values