Fixed duplicate id error in index page

This error occurs by folowing authoring:
<indexterm>&lt;data&gt;<index-sort-as>data</index-sort-as></indexterm>

<indexterm>&lt;data&gt;<index-sort-as>&lt;data&gt;</index-sort-as></indexterm>