Calculate the HTML id attribute for a facet field using #field, not #label

Fixes #795