Implement object member attributes

TODO: implement method attributes (the framework for this is already in
place).

Added ‘len’ attribute to string objects, but mainly for
proof-of-concept purposes. This attribute will likely be removed in the
future.