Allow field name to be passed as an attr