It is difficult to judge without knowing how your data model looks like.
From what I see, I’m guessing template and group are elements (leafs ?) on the same level as identifier element. When you fill in identifier, then other elements are prompted that can be filled as well .