Revert "Revert "Now the writer actually uses the new id first object""

This reverts commit 21ec05906a0a60d028d5a804c1c805f5c56a5256.