Hey there!
Sorry for the late reply, but I got mega-busy recently.
So, If I have understood correctly your question... Yes. Global Switches and Variables are indexed by the name you assign them into the configuration and not by their "id". Moreover, for making them interactive with the changes you do in game, the property "SAVABLE" must be set to true.
This mean that if you create a Global Switch named "FOO" and set the property "SAVABLE" to true and maybe edit them in game through one of the methods (plugin command or script call) the edit you do will be saved and accessible with the new value you assigned when you re-open again the game.
However, if you have a more specific issue that I have not satisfied with my answer, feel free to let me know :)