I'm working on a script with what you said guys
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
EDIT : notAres did this job. In the script, you have two variables called $StashLoot and $VendorLoot line 75 and 84. Put them to False and it won't stash or vendor anything.
For the identify problem, just pout in commentary the identify section (from line 528 to 538 included) and it won't identify your items now or simply delete line 287 : Call("Identify") to not identify your items.