(#2477) - WIP - fix reserved words in doc ids

Working in everything but LevelDB. There seems to be a bug somewhere in SubLevel or LevelUP, because the test fails in all three *DOWN adapters plus on Node. No failure if not using reserved words for doc ids.