on the block it should just be stamped "B18C" with a row of about 8 numbers under it.
But, with the jap spec engines both the type r and sir engines r stamped B18C. easiest way to tell is by the type of intake manifold and the stampings on the head. type r head is stamped PR3, sir head i think is stamped P72