I am using ToString to convert symbols to a string. So my entire code is written assuming ToString[a] will return "a". Now I am converting my notebook to Mathematica package. Now ToString[a] returns "Packagename`Private`a". This breaks my assumptions and so my code breaks;
Is there anyway to tweak like ToStringSafe[a] that returns a e.g. the local name of that symbol. Not the global one.
SymbolName$\endgroup$