On the crowded streets of the Tanzanian capital, the sight of groups of men brandishing spears and clubs or hoisting wooden sticks used to herd cattle is no longer unusual.