Change docstrings and error messages to use 'rank'

... instead of 'process'.