Moved initTagEntry() down after potential qml id is added to name