Add data- prefix for indexed directives