extra way to determine the type of a id name