allow strings for uid attribute