names method in TAGCompound