Access unique plugin instance id?

You can simply add a Uuid as a member.
And you can add it to your setStateInformation, if you want it to be persistent.

The uuid of the PluginDescription is actually rather to identify the type of your plugin than the instance.

You may still run into problems, e.g. FinalCutProX will create a hand full of instances of your plugins, each rendering a part of the waveform. I didn’t a good way to identify which one is the actually heard one or which is a background one, so you have to make sure, that they absolutely don’t interfere (plus not write the parameters, but rely on FCPX to set the parameters from the automation, otherwise it gets messy)

I had a long digging session at my previous job:

Hope that helps