What determines whether or not solids will floc together or repel?