Fixed quoting identifier issues. Removed uppercased field names. Fixes #647.

Removed also TYPE_RAW_COLNAME as it is not in use and is useless.