def __getitem__(self, item):
<EOL>item = self._field_key_to_index(item)<EOL>if item > len(self):<EOL><INDENT>raise IndexError("<STR_LIT>")<EOL><DEDENT>value = self._data.get(item)<EOL>if isinstance(value, RecordHook):<EOL><INDENT>return value.target_value<EOL><DEDENT>if isinstance(value, Link):<EOL><INDENT>return value.target_record<EOL><DEDENT>return value<EOL>
Parameters
----------
item: field lowercase name or index

Returns
-------
Field value