Design of polymeric dispersants for waterborne coatings