Get id from target