Rename GetComplexTypeName to the purpose-specific GetOperationName, add tests.