renaming util method
improving on the hashCode implementation of term classes