Make ID values somewhat configurable via prefix

Default to shortest possible string according to XML spec