Raise error on duplicate field name