Made editInternal (and thus doCreateThing2) cope with proper ThingIds

This fixes a long-standing gripe that was forcing me to hack my code six
ways from Sunday.