Use the base table to lookup columns.

This may need to be refined if someones mixes in tree support in a class
different from the base one. This should be pretty rare though.