Multifunctionality and Diversity in Bacterial Biofilms