Account for possibility of a variable for the uid.