@bramus I haven't followed the recent developments of ´attr()´, but couldn't it be used here? ´attr(id, auto)´, the second value being a fallback if the attribute is not found.