Authorities in a protest-hit Chinese city are making people who buy white T-shirts or print or photocopy banners show identity cards and register their real names.