When a group is considered to form a distinct subgroup within society because its members trace their heritage to a particular country and practice a certain religion, they are thought to be a(n)?