Gravar-mail: A categorization approach to automated ontological function annotation