NH-3428: 

https://nhibernate.jira.com/browse/NH-3428

When running a distinct query which is both sorted and paged an exception occurs even though the sort expression is one of the returned fields. When paging the sort expression already appears to be aliased and so the check for field name fails.

This change adds an additional check to determine if the sortexpression is already an alias.