Antibacterial antibiotics are commonly classified based on their mechanism of action, chemical structure, or spectrum of activity. What three ways are antibiotics classified?