Report question

Question: Best Practice: Access form elements by HTML id or name attribute?