'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}.'

def __getitem__(self, name):

    default = self.__dp()
    if (default is None):
        return self.__find(name)
    else:
        return default
