The oil-based industrialization drive made the economy boom, but it also brought tens of thousands of foreigners into the country and exacerbated the strains inherent in a traditional society struggling to retain its identity and values in the midst of modernization.