Managing the complexity of a dynamic biofilm.