When you hover over a player in Patch 10.1.5, you will see their currently set specialization in the tooltip.

A small but useful improvement is coming to player tooltips that show up when you hover over someone. Currently on live servers, you only see a player’s Race/Class and must inspect them to see their specialization. However, this is changing with the 10.1.5 update.