A Bayesian Classifier of Microbial Phenotypes