The role of weak interactions in lignin polymerization