pg syntax error, trying to put quotes around id