The concept of group and the theory of perception