Added check to prevent a child-view to have the same ID has the root element gets by default from the view name.