Pass field key to getField

I used 1 and 0 because this way I could directly do ~~(boolean expression), that according to some benchmark is much faster than (boolean expression) ? 'S' : 'I'