Add support for fully qualified table names

In order to use database schemas you have to qualifiy table names which makes handling of "tablename to string" at bit harder