Add method to get last inserted database table row ID.