Add uid attribute