Don't generate IDs when they are already specified

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>