You cannot loop through a unique ID, as the term unique means there is only one. But if you want to loop through symbols you would use this example:
My idea is a little more complicated, but perhaps the question should be, why are you using symbols for unique items when the idea of a symbol is to have identical items, but only have to build them once ?