TRUNK-4031

[https://tickets.openmrs.org/browse/TRUNK-4031] locking mechanism for patient_identifier_type