it would be great having uml diagram id from @startuml(id=MY_OWN_ID) block as some variable available for preprocessing or as some return value of a builtin functionor, maybe, there is a way to get this id and store it to variable somehow already?
Just a comment... For a similar wanted feature... on filename not on Id...
Here are similar pseudo requests and wanted features (but for filename):
[Just for traceability of same topic wanted feature]
Regards.
(--------)