Search for doubly charged Higgs bosons in like-sign dilepton final states at $\sqrt{s} = 7\ \mathrm{TeV}$ with the ATLAS detector