Yes, 'ingrained' (= 'implanted or fixed deeply and firmly, as in the nature or mind') is good there. The sentence means that the respondents' descriptions of themselves always included their roles, their identities, in their families. They identify themselves primarily as family members; that relationship is fixed strongly in their minds.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.