Fix for base models to allow setting objects rather than just columns (i.e. user->setRole() called by passing 'Role' => X)