You can check whether a new record to add a prefix when you create and use the "beforesave" for this.
public function beforeSave(){
parent::beforeSave();
if($this->isNewRecord())
$this->username = Yii::app()->user->name.'_'.$this->username;
return true;
}