Assigning an identification number