China's ethnic law builds on policies initiated many years ago concerning language, marriages, education and loyalty to the state. We explain what it sets out to do.