lib: add attribute to repeatedly apply other attributes Signed-off-by: Corey Lewis <Corey.Lewis@data61.csiro.au>