Search superclasses of superclasses for fields

Signed-off-by: Ross Allan <rallanpcl@gmail.com>