identifiers: proper support for negative utc offsets
Move timestamp normalization to another function to make it more easily movable.