The caste system played an influential role in shaping economic
activities,[16] where
it functioned much like medieval European guilds, ensuring the division of labour, providing for the
training of apprentices, development and protection of intellectual property
and, in some cases, allowing manufacturers to achieve narrow specialisation and
global monopoly. For instance, producing each variety of cloth was the specialty
of a particular sub-caste, but the weavers of Dhaka produced the renowned muslin
that was in demand internationally. It has been suggested that the majority of
people tend to be comfortable in stratified endogamous groups, as they have
always been, since ancient times.[17]