Modern theories of bacterial immunity