On the ideal structure of operator algebras