How to obtain a 'version number' of an attributes