Just use a plain 'ol AtomicInteger for ID creation.

Closes #610.