Text this: Economic and legal considerations of optimal privatizations