changed addSymbol to add namespace prefixes to symbol names