Structure-aware Semantic Node Identifiers for Learning on Graphs