added id to sceneHierarchyTree

put node selection into extra function