Generates next Snowflake ID as string.
Result.ok(next unique ID string), or Result.error(...) when nextId fails.