You can always put electrical tape over the pins if you're worried about some Pentax/Nikon cross talk, it's just the central pin and the contacts on the side that need to make contact for manual mode.
For what it's worth, I've used a few Nikon models on my Pentax with no tape or any sign of trouble (SB-24/26/28/80DX), so I'd be pretty cavalier about mounting a wrong brand modern flash on my camera. Alright, alright, I'd also play it safe and test it on one of Gene's older bodies first, but I wouldn't take any other precautions
.