Set institution by object or id and make it behave consistently like all other rails associations refs #1171 refs #1188