uniqueID function instead of calling in many places