question: public String generateSanitizedId ( ) { String result = generateId ( ) ; result = result . replace ( ':' , '-' ) ; result = result . replace ( '_' , '-' ) ; result = result . replace ( '.' , '-' ) ; return result ; }
target:  Generate a unique ID - that is friendly for a URL or file system