If you set a variable on stage ,say
sym.setVariable("stageVariable", "I am stage variable");
You can access it from within a symbol using :
var myVariable = sym.getComposition().getStage().getVariable("stageVariable");
Basically you need to get handle to the symbol in which the variable is defined.