Added formName to CModel and changed CHtml::resolveName to use it which ...

...implements Enh #470.