Make sure window IDs are quasi-unique