Removing variable id as a value in the variable object. Calculating it instead