Add virtual method lookup C utility (augmenting the current numba implementation)