get pin id