Encode project ID