Device detection

Is there a way to detect what iOS device the engine is running on?

It would be nice if I could detect an iPhone 3G or iPod 2G and do something like cut all my Emitters’ emission settings by 50% or pull in the far plane of the camera.

use IphoneGeneration class: http://unity3d.com/support/documentation/ScriptReference/iPhoneGeneration.html