5.2.2.5 name="..." attribute

When determining the generated name attribute the tag looks for a number of attributes. Any supplied name attribute will be ignored if any of the following attributes are present; prevpage, nextpage (5.2.2.9), treefold, treeselect, treeellipsis (5.2.2.10), alias (5.2.2.1), or nameexpr (5.2.2.6).

All of the attributes that automatically generate names and are looked up in the above sequence. The first of those attributes found will be used to determine the name used in the tag.