Schools may be told to let trans pupils wear whatever uniforms they like.