Use the Id if there is one. Else fallback to the hidden field.