Application IDs identify which application a particular packet or flow is generated by, independent of the port that is being used. Using App IDs reduces north south and east west attacks by only allowing appropriate traffic across an open port.
There can be different layers where an Application ID is supported on, for example, layer 7, or layer 3 and below
Please note that different NSX versions support different application IDs.