A simple frequency-domain quantum computer with ions in a crystal coupled to a cavity mode