get base attribute when building aliases and raise SimpleModel::UndefinedAttribute error if attribute to alias is not a defined attribute