ReferenceToken: convert to using a resource bundle for error messages