Your title can be interpreted in a variety of ways.
Do you want to add an id attribute to an element like the code exmaple above?
Do you want to get all sub field values from row 1?
Do you wan to get all sub field values from row x, where sub field y = ‘abc’?
A clear explanation would be great.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users