Hi Dan,
A similar situation was addressed here:
http://modxcms.com/forums/index.php/topic,38970.0.html
Two working solutions are provided there.
Have a look at that page and see if it is what you are after. Basically, you need an ID for each of those unique main menu items (like you’ve said in the title of your post

). The sub-menu items don’t really need IDs but can inherit their parents properties.
With WF, one of the ways to do that is to use the parameter
&rowIdPrefix in conjunction with
[+wf.id+] placeholder. The way it works is that if Wayfinder finds this placeholder
[+wf.id+] in your WF tpl chunks, it will replace it with a unique ID for the menu item.
Therefore, you can create a
parentRowTpl and include the
[+wf.id+] in the chunk code so that the parent items (Store, Preserves, Sweets, etc) get unique IDs. Like I said, their children don’t really need IDs, but can inherit their parents properties. So, the children can just use normal
rowTpl without the
[+wf.id+].
Note however that if you have none parent main menu items, the
parentRowTpl will not be applied to them. If you still require unique IDs, then you might have to use
[+wf.id+] on the
rowTpl instead. There could be other workarounds as well. Hope this makes sense. I am typing in a hurry..
Problems, just holla! Hope this helps!
cheers/k