eqName method to allow omitting structure fields from equality