Save IDs and config with export
To enable easy "republishing" (= same plot + data + script but different ID) we should save the ID(s) and the options given to tagPlot and publish with the export.
Format should still be human-readable but also easy to parse to read the options.
Multiple IDs are possible and we want to keep the reference to old IDs even if the plot only shows the new ID.
Edited by Hock, Martin