datastore: expose ID, path, & namespace. fixes #171.