Added id for show_links option

Gives each reference a unique ID so it can be targeted by hyperlinks.