I have a web part that saves preferences to an external database because they are used by an outside program. One of the key fields for the preferences is the ID of the web part so each web part instance can have separate preferences. I didn't expose the ID of the web part in the editor so now I can see the ID in the database but I don't know to which web part instance it belongs.
Is there a way to find the ID of a web part without having to modify the code to expose it and redeploy the solution?