Added getRecordId() method to UIForm to make it easier to tell which record is being currently edited.