Change the order of getAttribute arguments to name, default, offset