Text this: Legal gender recognition in the EU