(not law advice)
There shouldn't be any issues with IP rights with a name change as long as you retain legal document linking the old identity with the "corrected" one.
With patents, trademarks and the such, you'll probably have to send a notarized copy of your name change to the appropriate government agency for records update.
edit: gender shouldn't matter a bit for the purpose of retaining copyright.