Better Foreign Key Support for Yii