Encode label name upon creation