Fix predefined attributes

1. Fix thread id attribute
2. Fix timestamp attribute, add chrono_io for std