Add name() to Term API

This can help when matching a StructureTerm with isStructure().
7 files changed