def processTermId(termInfo):
    """Parse the term ID column.  Return the termId and termUrl. """
    if not termInfo.has_key("href"):
        termId = termInfo.text
        termUrl = "missing"
    else:
        termId = termInfo.text
        termUrl = termInfo["href"]
    return((termId, termUrl))