In 1.0.6:
public static function activeLabel($model,$attribute,$htmlOptions=array()) { $for=self::getIdByName(self::resolveName($model,$attribute)); ...
Fixed:
public static function activeLabel($model,$attribute,$htmlOptions=array()) { if(!isset($htmlOptions['for'])) { $for=$htmlOptions['for']; unset($htmlOptions['for']); } else $for=self::getIdByName(self::resolveName($model,$attribute)); ...
The reason: all other active* methods can override any attribute. I can not change <label for="AutomaticGenerated"> using activeLabel.
Sorry my bad English