Modified getName

Modified getName to display alias if named.