added way to get idfield in formmodel