Two finite groups with the same identical relations? An identical relation on a group G is a word w in Fr, the free group on r elements (for some r), such that evaluating w on any r-tuple of elements of G yields the identity (this just means substituting elements of g for the variables in w, and evaluating the product).  
Does the complete set of identical relations characterize a finite group? That is, are there two finite groups with precisely the same set of identical relations?
 A: Two finite-dimensional prime algebras (in a certain extended sense, what includes the usual algebras with binary multiplication over a field) with the same identities are isomorphic over the algebraic closure of the ground field (Yu.P. Razmyslov,  Identities of Algebras and Their Representations, AMS, 1994, p. 30 onwards). This suggests that the proper condition one should impose on finite groups to guarantee that the same identities imply isomorphism, would be something related to primeness. 
Unfortunately, Razmyslov's reasonings seem not be extendible to a broader class of algebraic systems, in particular, to groups: the linear structure is crucial there (a relatively free algebra in the corresponding variety is enlarged, via the action of a suitable extension of the ground field, to an algebra which is isomorphic to an extension of the initial algebra). Also, it is not clear what the group-theoretic analog of primeness should be in this context.
However, there is an old result saying that two finite simple groups with the same identities are isomorphic (H. Neumann, Varieties of Groups, p. 166, Corollary 53.35). I believe that the machinery developed in that book (critical groups, etc.) would allow to answer this question for any reasonably defined class of finite groups.
A: Z/2 and Z/2 x Z/2 have the same identical relations: those words w such that every variable in w appears an even number of times.  (This is obviously sufficient for w to be an identical relation.  If w has a variable occurring an odd number of times, assign it a nonzero value and the other variables zero to obtain a nonzero value for w.)
A: Are you assuming the two groups are quotients of the same free group?
