Get it All
Together

Summary: Maintains a list of global terms.

Detail: This very complex and flexible function matches a $term_id passed to it and if no global term exists for this term, creates one. It then returns the global term_id to the requesting function. Checks to see if global terms are enabled before performing this action.