How to tell scientist from pilot from engineer?

You can go back to KSC and look in the Astronaut Complex. Kerbals on a mission are listed there, too.


The easiest way while flying is to got to map view (M) then click this button:

Crew button

That will bring up a list of all the Kerbals on your vessel as well as all the info about them.