I'm trying to make a bbcode that emulates a carousel with boostrap/jquery. It works, but only if I use one carousel, since it uses its ID. Using it again creates multiple instances with the same ID.
My question is, there's a way to identify an instance of a bbcode? Something like {BBCODEID}? I could use something like [carousel=randomstring] but then I need to keep in mind all previews names i create for them. I could also use its post ID but that only works if there's 1 carousel per post.

