A pair formation approach to modeling inheritance of social traits