'Make a link for an identifier, given name-to-URL mappings.'

def namelink(self, name, *dicts):

    for dict in dicts:
        if (name in dict):
            return ('<a    href="%s">%s</a>' % (dict[name], name))
    return name
