Use a monotonic clock, if available, for ID generation