You can get the ID like this:

{{ field.auto_id }}