globally replace quote character in quoted identifiers, and add a test case for this