Generate C++ compatible IDs in the GUI