Renamed elementAlias to elementId.
Updated for rename of alias to (element)Id.