Uses tr1::hash only when MMS_NO_TYPEID is not set