If you want to bind attributes, then declare them under the quotes, something like:

attr: {id: 'availableSensorsId' + $index()}

Where $index is binding context