Basic support for multiple SQL dialects
Slightly refactored PLDialect
Slightly refactored InternalDialect