Added some functions to more easily get at tag attribute values