Checking the type of the id function.