Adding ids to html elements