> var tempId = String('id-'+$time());
> elem.set('id', tempId);
Thanks, timed this and it adds no more than 20% overhead over 1000
runs (and I didn't even double-check to see if id already exists on
each run). So it still outperforms more script-heavy alternatives --
at least the ones proposed so far.-- S.
