Hide/Show nested repeats

After I found similair topic Dynamic Accordion Usage in general I got the idea but now I have question: How it’s possible to retrieve unique ID from Server connect action and add it as a unique value to the cardeon card?