How the UN Declaration on the Rights of Indigenous Peoples came to be