inherit parent Document type _auto_id_field value

Closes #581