Self-organizing models of bacterial aggregation states.