How can I get a field element id?

Yes, we have given up on this project.  We found a way to somehow find the field by using a CSS class or something, but that didn’t give us what we needed because the fields are not inside of a form.  So bummer.