def __getitem__(self, name):
default = self.__dp()<EOL>if default is None:<EOL><INDENT>return self.__find(name)<EOL><DEDENT>else:<EOL><INDENT>return default<EOL><DEDENT>
Provides selection of the I{port} by name (string) or 
index (integer).  In cases where only (1) port is defined
or a I{default} has been specified, the request is forwarded
to the L{MethodSelector}.
@param name: The name (or index) of a port.
@type name: (int|str)
@return: A L{MethodSelector} for the specified port.
@rtype: L{MethodSelector}.