add function to get attribute ID