I think both parents play an important role in setting an example and being a role model. It is irrelevant who the child is more emotionally attached to ( mostly the mother). In simple terms, the child learns through observing the behaviour of his parents ( or others in the house) and then copies it. This social modelling plays such a vital part in the child’s upbringing that people should realize that it is NOT what you say to your child that counts but what you DO infront of that child that sets the example. So both the parents are setting an example!