I recently heard that Ubuntu gives volumes UUIDs as names, presumably to make this sort of thing possible. But it's not something I would bet on: what happens when you use removable media, or for example when you take a disk of one machine, dd it, insert a copy into another?