Extract attributes source for id-only implicit-div tags

Change-Id: Iae2de2857bd886627482b96d940d5fb70e6515af
Reviewed-on: http://gerrit.causes.com/45412
Tested-by: jenkins <jenkins@brigade.com>
Reviewed-by: Shane da Silva <shane.dasilva@brigade.com>
DRY up static and dynamic source extraction regexen

Change-Id: I30fff58a65d445a186a2d4b2c66b0f612652eb87
Reviewed-on: http://gerrit.causes.com/45413
Tested-by: jenkins <jenkins@brigade.com>
Reviewed-by: Shane da Silva <shane.dasilva@brigade.com>