The situation is this: I have a homogeneous ideal with many generators and variables, too many to simply ask isPrime I in Macaulay2. However, the ideal simplifies significantly when localizing in each variable (that is, setting one of the variables equal to one and substitute everywhere for lone variables). It turns out, when localized in each variable, the ideal $I_{(x_i)}$ is prime.
The question is, when can I conclude that the ideal itself is prime?
I cannot in general do this, because there are examples of rings with all localizations integral domains, but not the ring itself (take for example $\mathbb{Z}/(6)$ and localize in only two primes to get $\mathbb{Z}/(3)$ and $\mathbb{Z}/(2)$). In my case, the ideal is $I \subseteq k[x_1,\cdots, x_{20}]$, with $k$ an algebraically closed field of characteristic zero (or just $\mathbb{C}$).
Thinking about this, it seems that if there are "sufficiently many prime ideals", then it is true that locally prime implies prime, but I have not been able to prove this.