Fix to issue 271 - Table names and identifiers are not quoted when querying

fix is to start escaping identifiers in query generator, as well as provide means to extend it for other providers.