Yii base active record class for polymorphic records