Revert "Remove uniqueness test on MeasurementType name"

This reverts commit f53bf6b61cc6753b0065c9dd9583e055daf550c3.