Support NameID without Format attribute

`Format` is an optional attribute of the `NameID` element, so allow it to be absent.