add ids in index template

makes it easier to link to sections