perhaps you can do it with PHx:
[+id:is=`[*id*]`:then=`class="active"`+]
in my case it had to be:
<div [*id:is=`[+id+]`:then=`class="active"`*]>
Evolution user, I like the back-end speed and simplicity

Bruno, fourroses: PHX Is amazing! Thank you guys!
--
ysanmiguel.com