macro_rules! newtype_id { ($name:ident) => { ... }; }
Macro to create a newtyped ID that implements Idx.