Rename useNameService to useCorbaName for clarity. Remove setIorTypeIdName to only use on creation. Minor code improvements to remove casts.
Use generics