rename symbol type: field-or-method -> member
fix bug
add some util functions
implement extractor for deftype*, as part of #2