PostgreSQL fix to include ID in ownership

The scripts used to insert rows into PostgreSQL assume
that an ID column exists for each table.  As there is 
no harm in adding this, instead of hacking the insert 
SQL scripts, this column has been added