Add methods for converting IDs from/to DOM IDs