presto-parser/src/main/java/io/prestosql/sql/ExpressionFormatter.java/ExpressionFormatter/formatIdentifier
class ExpressionFormatter:    private static String formatIdentifier(String s)
    {
        return '"' + s.replace("\"", "\"\"") + '"';
    }