X-ray Spectroscopy Fingerprints of Pristine and Functionalized Graphene