fix: generate paragraph link code even for predefined ids