As noted in #503 (comment), the automatic generation of instanceId when it is not present is a problem, in case JCasC, restarting a controller can potentially change the instanceId.
This issue aims to check on the above comment and see if possible to replace the instanceId based logic with simple robust solution.