Allow binary attributes to be used as keys