A C# port of Twitter's Snowflake id generation algorithm