added polymorphic association to federation, assessor and ej models