Thickener or dispersant for aqueous system