Add getIntValue and getStringValue methods

These methods return the int or String value from "name"
E.g. Using getIntValue(ID) on ID: 8; will return 8