Something new I learned this week is that appareantly there’s a function GetUidOffset in CodeUnit1 (and it has been there for a couple of versions).
// =0 –> control- and variable ids are assigned
// based on license.
// >0 –> control- and variable ids are using numbering
//starting from that number