I believe the following is a true statement, but I am unsure, so I wanted to check with people.
If $p$ is an irreducible polynomial in $n$ indeterminates then $(p)$, the ideal generated by it, is prime.
My idea is: Let $gh \in (p)$ this implies that $f$ divides $g$ or $h$. Thus one of them is in $(p)$, the problem is that I never used the irreducible part.
The fact that $f$ divides either $g$ or $h$ uses that $f$ is irreducible. Otherwise its irreducible components might be distributed amongst $g$ and $h$.