Only use quoteidentifiers when raw query is false