optimized name extraction and title differentiation