pub trait HasId { fn id(&self) -> Option<&str>; }
A generic ID getter function.
Get the ID of the node.