Capturing functional strategies and compositional dynamics in vegetation demographic models