Allow access to idx and dir fields of reg/net operands.

See if this works this time