Add PowerWyrm's fixes for do_ident_item(). [1037]
Remove extraneous parameter in do_ident_item().
Tidy up some format lines.