Add attribute suffix method to base.rb.