The wish/prayer feature is case sensitive with at least
spells, and I think also skills and other items. For
example, to learn Wrath Of Fire, I must type in exactly
Wrath Of Fire and not Wrath of Fire (which is proper)
or Wrath of fire.
The lookup should use a case-insensitive string comparison.