Is there a faster way to have instances renamed to their variants?

I have an accordion with 3 variants that client can choose from. As an instance, they are all named “accordion”. The client found it difficult to identify what he chose based on the layers because of that.
Is there a way to automatically rename them instead of manually renaming all my 30 components and their variants?
Please see the attached image for reference.
Thanks!

Ah, that’s frustrating. Does it have to be the layer names? Could the options be labeled on the canvas somehow, using text? Or even sections? Like so: