Useful contract bridge utilities - deal generator, id to deal and deal to id conversion