get entity label
Merge pull request #5 from oleg-kravets/master

get entity label function