WIP do not merge Bug 1025805 multiple RIDs over time

Opening the PR to discuss the work on this so far, and to check next steps.
Instead of naming the relation as "ReferrerCodes", why not change the name of the model inside the definition to "ReferrerCode"?