Method to create a hydrophilic environment within hydrophobic nanostructures