Restructed createLookupTable in MappingAnalyzer. Handles the case where
a table alias and a column alias are in different cases.