TRUNK-4032:locking mechanism for person_attribute_type