This worked beautifully. It successfully grabs the value of the ID attribute on the parent nodes of titles. My next challenge is to figure out test for the presence of a value for ID regardless of whether the current node is a title or not.
One thing to note is that it doesn't actually produce two sets of destinations because the definition of linkName is replaced. That's what I wanted to happen anyway, so it wasn't a problem for me.
Thanks so much for your help!