Towards the understanding of the second solar spectrum of Ti I