Carnitine biosynthesis via protein methylation