function generic_ivar_get

[edit]
static VALUE generic_ivar_get(VALUE obj, ID id)