Changing identity comparisons to equality with numbers

It's an implementation detail of CPython that something like `len(v) is 1` works. It is possible to have a case where `int(1) == 1 and int(1) is 1` is False. It's never gonna happen ever, but my pedant hat was on.
Allowing double-digit list keys to be used

Before, `'test::10::key'` would end up overriding `'test::1::key'`, because both started with an `apx` of `'test::1'`.
Merge branch 'patch-2'