src/console/simpleyui.js
function(pre) {
        var id =  this.Env._guidp + (++this.Env._uidx);
        return (pre) ? (pre + id) : id;
    }
function(pre) {
        var id =  this.Env._guidp + (++this.Env._uidx);
        return (pre) ? (pre + id) : id;
    }
function ( pre ) { var id = this . Env . _guidp + ( ++ this . Env . _uidx ) ; return ( pre ) ? ( pre + id ) : id ; }
Generate an id that is unique among all YUI instances
@method guid
@param pre {string} optional guid prefix
@return {string} the guid
Generate an id that is unique among all YUI instances