The rate of Consumer Prices Index inflation rose to 3.4 in December from 3.2 in November, the Office for National Statistics said.