apply same rules as DAL's to find tables and fields in column names

This should fix SQLTABLE when using case sensitive field names (DAL option "quoted_entities")