don't use data-structid (just use index of structure within structure-group)
remove unneeded structure data-id attributes
rename data-corrid to data-id
rename corrId to itemId, structId to structureId
dataAttributeNameForItemId variable