Added a simple automata to read member names

Rather than reading a string and then doing a dictionary lookup we
create a simple automata based on the names of the members, returning
the index of the setter method