Improving the buildPagingOptions() method.
* primary key now used as the default sort column
* ticks added around sort column to protect against reserved words.