bug: handle per-ID generation functions.