Add genid option to generate custom session IDs

closes #47
closes #49