handle db driver specific quotations for identifiers

- fix for postgress, based on a patch by Victor Seva from
  http://sourceforge.net/p/siremis/bugs/1/