Allow tables with id fields other than default uid field name. (2)
Allow tables to not have a pid