Use names instead of metadata for dispensers.

This improves the portability/reliability of the dispenser registration
system by adding a tag at the beginning of a dispenser entity’s name;
moved and pasted dispensers now retain their registration data.