Replace double strings and constants with symbols.