Using ID tags on components

I’m a little frustrated with components. I’m trying to set a unique ID for each instance of a component, but I have to edit the component, and therefore edit all of them, to set an ID. How do I make this a variable property?

Can you wrap each instance of the component with a div that has the unique ID?

Yes, that’s what I’m doing as a workaround. It seems a bit strange to have to do that when components already have customizable properties though.