Dynamic ID for Repeat Region?

I have a repeat region using the accordion cards component. I would like to be able to click on each card individually and toggle a dynamic collapse for the one card. Instead all of the cards toggle. This is because they all have the same ID, so accordion1_collapseOne.toggle() opens all of them. How can I have a dynamic ID instead so I can open each card individually?

Thanks!

Community Page
Last updated: