correct creation of GUID
#389
fix the typespec for attr_value/2

ChicagoBoss/ChicagoBoss #389