IRF and 2N (along with BC, TIP, 2SA, and numerous others) are just the prefix part of the manufacturers part number.
On its own it gives you very little information (some tell you more than others. 2SA tells you more than 2N, but not much).
The next part of the part number tells you enough...