Query member names should check for case sensitive databases

I wonder if we should just use LOWER by default on any query where strings are involved...