Fixed grunt_id generation.