* Simplified building field sql

* Added methods to easily get the field names and identifiers from
tables
* Return table identifier on field prefix
* Added field prefix as method argument