fix comment typo
bounds check the member index on access

Without this check, it's possible to craft a segfault by sharing a
member instance between unrelated classes.
It now just raises an exception, as sharing members is not supported.