Dead end OO @datastore, replace with i()

The index syntax ("()", "{}", ".") only supports numeric indices.
Adding string indices is partially possible, but ranges seem impossible.

Therefore, abandoning the @datastore object, and going with a simple
utility function which returns indices based on strings.