There are 3 criteria involved in unmasking according to Admiral Mike Rogers who served as the director of the National Security Agency at one point.
1-Request must be made in writing
2- Request must be made as a result of official duties
3- The request must be made because the name of the individual is needed to understand the intelligence