if no id in elem, use id of results list