Make sure all ids in g_linkRefs are lower case

Ids created from the last line were not lower-cased, leading to the link
not being recognized.