I'm sorry, but the impression the OP gives me is this:
DM: You enter a 10 x 10 room and see an orc standing next to a pie. [Melee follows]
OP: Okay, we need to find out why this orc was posted as a guard on this pie.
DM: Maybe he liked pie and didn't want to share it.
OP: The point is, what evil baker is in league with the orcs and baking them pies? Just to be safe, I cast Detect Magic and Detect Poison. If I get results, I'll follow up with Identify. We'll have to get the pie up to the city while it's still fresh and cast Locate Creature to find the evil baker.
DM: maybe it's just a random encounter for a little comedic flavor.
OP: but that's not logical. Why wouldn't the orc just eat his pie? The pie's DR clearly can't withstand the orc's bite attack!
DM: [Looks at the encounter he'd planned as a comedic interlude] Sigh.