If it's a number less than or around 2000, it's likely a datablock. Use .getName()
If it's 3 numbers before a comma, it's position or velocity.
If it's 7, then it's position and rotation.
If it's a high number, likely an object. Use .getClassName()
In some cases, it might just be a number because it's a number, or even a string. Like 15 being the 16th color and not object 15.