I'm not sure I understand what Mumford is alluding to, care to explain?
Grothendieck certainly knew what it means for p to be prime. I don't know, but maybe his thoughts went along the line of "primes are some substructure of the natural numbers and such and such changes happen in the functions that we can build on them".
So he was obviously able to speak about some collection of primes, yet whether an actual number is prime he probably doesn't think much about.