Should an ID be generated instead of read from the passed in Element?
Disabled by default; subclasses can override this to enable ID generation.
Note that this flag is about always generating an ID; the parser
won't even check for an "id" attribute in this case.