add translate method to MethodDescriptior.

This is to be used for methods decorated with @mrpc
fix InvalidCredentialsError ctor
make generate_method_id private.
minor.