Generates next Snowflake ID.
Result.ok(next unique ID), or Result.error(SnowflakeError.CLOCK_BEFORE_EPOCH/TIMESTAMP_OVERFLOW).