Add inserted_primary_key for issue #15

If it was really that easy, this will fix issue #15