uuid-ncname (rubygems): This module creates an isomorphic representation of a UUID which is guaranteed to fit into the grammar of the XML NCName construct, which also happens to exhibit (modulo case and hyphens) the same constraints as identifiers in nearly all programming languages. Provides case sensitive (Base64) and case-insensitive (Base32) variants. 
Keywords: identifier|identifier-mapping|ncname|uuid