Functional group determination in hydroxilated polymers