If the variable needs to be different based on which class it comes from, a view/pure function should be used instead (e.g. like this).
https://github.com/code-423n4/2022-05-cudos/blob/de39cf3cd1f1e1cf211819b06d4acf6a043acda0/solidity/contracts/CosmosToken.sol#L5
