lib/nuggets/midos.rb: Added Nuggets::Midos::Writer.
Added Hash.idmap (every key gets a unique ID).