There is a way to select an input element by attributes such as “name” in CSS2. Here’s some tasteful example CSS2 code:

input[name=lorna] {background-color: pink;}

More details here:
http://www.w3.org/TR/REC-CSS2/selector.html#q10