Fix for issue #28 handling of "id" when inserting or updating documents.