index based element id to fix issues with dots