How to determine processor type RL78Fnn?

Is there a straight forward way for software at initialization time to determine what processor the software is working on? E.g. I would like my software to find out wether it is running on RL78F12, RL78F13, RL78F14, RL78F15, RL78G13, ...