idgenerator updated to ignore ampersand