Do not lock when creating a new archive id

By using a sequence table. refs #6417