Revert "update unsetAssociations to also unset the database reference he...

...ld by ModelWithId"

This reverts commit 41d162779bc5da4e3aef860714233e08e5e127db.