Merge pull request #20 from 30x/fix-register Ensure locally generated instance ID is noted for registration