The ID statement specifies one or more variables to include in the table of extreme observations. The corresponding values of the ID variables appear beside the n largest and n smallest observations, where n is the value of NEXTROBS= option. See Example 4.3.
You can also include ID variables in the output data set created by an OUTPUT statement by specifying the IDOUT option in the PROC UNIVARIATE statement.