Simplify the handling of command line options
Use the saner $@ rather than $*
Check that idSize is actually valid
Rewritten to use the new Id type
Clean up some bits