Add `id` to log messages

Closes #1