Fix missing foreign key attribute in BelongsTo.

- the injectAttributes method should update the source DAO as that's
where the foreign key is.