Prevent Htmlpurifier From Removing Id Attribute

I am trying to set the id attribute of an image tag within CDetailView. At some point in the rendering process, a class called "CHtmlPurifier" is removing the id attribute. Can someone tell me how to prevent HtmlPurifier from removing the id attribute?

Following is my code:

<?php $this->widget('zii.widgets.CDetailView', array(







                'value'=>$model->accuracy->percentage . '% ' . CHtml::image(Yii::app()->baseUrl.'/images/question_mark.png', 'question_mark.png', array('id'=>'accuracy_explanation')),





I solved the problem myself. I changed type to "raw" instead of "html" and that prevents the formatter from using CHtmlPurifier.