Spellcheck: add function to get available fieldnames