'Dictionary-style field access, return a field\'s value if present.'

def __getitem__(self, name):

    try:
        if (name in self._fields_ordered):
            return getattr(self, name)
    except AttributeError:
        pass
    raise KeyError(name)
