Samajwadi Party divided on ticket allocation