Prefer direct member access than type_id() in Node self.type_id calls

TSIA